WP_Defender\Controller\Recaptcha B

Total Complexity 90
Dependencies 8
Dependents 2
Total lines 691
Lines of code 463
Logical lines of code 201
Comment lines 143
Methods 24
Properties 8

Methods 24

Method Rating Maintainability Complexity Lines of code
load_recaptcha_preview()
A
35 8 113
__construct()
A
41 12 50
data_frontend()
A
44 8 49
recaptcha_post_request()
S
52 7 25
login_scripts()
S
47 5 53
recaptcha_should_enqueue()
S
57 6 15
validate_captcha_field_wpmu_registration()
S
59 5 14
signup_extra_fields()
S
55 4 20
recaptcha_field()
S
56 4 19
load_scripts()
S
60 4 13
validate_captcha_field()
S
63 4 10
save_settings()
S
55 2 22
validate_captcha_field_on_login()
S
69 3 6
import_data()
S
69 2 7
error_message()
S
70 2 6
get_model()
S
70 2 6
recaptcha_response()
S
66 2 8
signup_hidden_fields()
S
74 2 5
script_loader_tag()
S
70 2 6
export_strings()
S
72 2 5
script_data()
S
76 1 4
remove_settings()
S
91 1 2
remove_data()
S
82 1 3
to_array()
S
91 1 2